#include <iostream>
#include <stdlib.h>
using namespace std;
int main()
{
    string k1;
    int i;

    i=0;
    while(k1!= "salir")
    {
      cout<<"Ingrese su palabra"<<endl;
        cin>>k1;
        cout<<k1.length()<<endl;

    }
    return 1;
}

